package com.mtsmda.designPattern1.creational.prototype;

public abstract class Computer {

	private String name;

	public abstract void showComputerInfo();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	protected Object clone() throws CloneNotSupportedException {
		Object clone = null;
		try {
			clone = super.clone();
		} catch (Exception e) {
			e.printStackTrace();
		}
		return clone;
	}

}